home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 526 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: florence.scotnet.co.uk!usenet
  2. From: Gabe <gphilp@glam.ac.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Help Needed- API Comm functions VC++
  5. Date: 4 Jan 1996 22:29:45 GMT
  6. Organization: The Scottish Internet Supplier
  7. Message-ID: <4chkcq$occ@florence.scotnet.co.uk>
  8. NNTP-Posting-Host: gabe.celtic.co.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  13.  
  14.  
  15. Please does anybody know how to use the following API comm 
  16. functions in windows???
  17.  
  18. BuildCommDCB    Translates a device-definition string to a DCB 
  19. ClearCommBreak    Restores character transmission 
  20. CloseComm    Closes a communications device 
  21. EnableCommNotification    Enables or disables WM_COMMNOTIFY posting 
  22. EscapeCommFunction    Passes an extended function to a device 
  23. FlushComm    Flushes a transmission or receiving queue 
  24. GetCommError    Retrieves the communications-device status 
  25. GetCommEventMask    Retrieves the device event word 
  26.  
  27. GetCommState    Retrieves the device control block 
  28. OpenComm    Opens a communications device 
  29. ReadComm    Reads from a communications device 
  30. SetCommBreak    Suspends character transmission 
  31. SetCommEventMask    Enables events in a device event word 
  32. SetCommState    Sets the communications-device state 
  33. TransmitCommChar    Places a character in the transmission 
  34. queue 
  35. UngetCommChar    Puts a character back in the receiving queue 
  36. WriteComm    Writes to a communications device 
  37.  
  38. I've used opencomm, closecomm and some of the others but I'm not 
  39. shore what to do with them, I'm trying to write a direct serial 
  40. to serial function..... any help would be appriciated, code 
  41. frag's would be great..
  42. I'm using MSVC++ and Delphi.
  43. Thanks
  44.  
  45. Please mail gphilp@glam.ac.uk
  46.  
  47.  
  48.  
  49. -- 
  50.  
  51. Software Engineers do it with Objects.
  52.  
  53. Well past the madness event horizon and accelerating!
  54.  
  55.  
  56.